package net.rauh.timothywhite {	import net.rauh.timothywhite.PhotoContent;			/**	 * @author Christian Rauh	 */	public class GalleryContent {		private var photoArray : Array;				public var name : String;		public var length : Number;		public var photo : Number;				public function GalleryContent(data:XML) {						name = data.name;			length = data.photo.length();			photo = 0;						photoArray = new Array(length);						for (var i : Number = 0;i < length; i++) {				photoArray[i] = new PhotoContent(data.photo[i]);			}		}				public function getPhoto(index:Number):PhotoContent {			return photoArray[index];		}			}}